package moplayer;

public class NoteRT {

	long duration;
	int pitch;
	int dynamics;
	
	public long getDuration() {
		return duration;
	}
	public void setDuration(long duration) {
		this.duration = duration;
	}
	public int getPitch() {
		return pitch;
	}
	public void setPitch(int pitch) {
		this.pitch = pitch;
	}
	public int getDynamics() {
		return dynamics;
	}
	public void setDynamics(int dynamics) {
		this.dynamics = dynamics;
	}
	
	public NoteRT(){
		super();
	}
	
	public NoteRT(long duration, int pitch, int dynamics) {
		super();
		this.duration = duration;
		this.pitch = pitch;
		this.dynamics = dynamics;
	}
	
	@Override
	public String toString() {
		return "Pitch: " + this.pitch + "\tDuration: " + this.duration + "\tDynamics: " + this.dynamics; 
	}
	
}
